package me.firstapp.service.weixin.product;

import java.util.List;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.weixin.product.ProductSku;

public interface ProductSkuService {

	ProductSku executeAdd(Long productId, String skuName, Integer isDefault);

	ProductSku executeUpdate(Long id, String skuName, Integer isDefault);

	ProductSku findById(Long id);

	List<ProductSku> findByProductId(Long productId);

	void executeDelete(Long id);

	Page<ProductSku> findProductSkuPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams,
			String sortParam, String sortType, Long productId);

	ProductSku findByProductIdAndDefault(Long productId);
}
